package com.agency8x.model.base;

import java.math.BigDecimal;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;
import java.sql.Timestamp;

@SuppressWarnings({"serial", "unchecked"})
public class BaseRechargeModel<M extends BaseRechargeModel<M>> extends Model<M> implements IBean {

    public M setId(Integer value) {
        set("id", value);
        return (M) this;
    }

    public Integer getId() {
        return get("id");
    }

    public M setSerialNo(String value) {
        set("serial_no", value);
        return (M) this;
    }

    public String getSerialNo() {
        return get("serial_no");
    }

    public M setOutTradeNo(String value) {
        set("out_trade_no", value);
        return (M) this;
    }

    public String getOutTradeNo() {
        return get("out_trade_no");
    }

    public M setAmount(BigDecimal value) {
        set("amount", value);
        return (M) this;
    }

    public BigDecimal getAmount() {
        return get("amount");
    }

    public M setPayChannel(String value) {
        set("pay_channel", value);
        return (M) this;
    }

    public String getPayChannel() {
        return get("pay_channel");
    }

    public M setUserId(Integer value) {
        set("user_id", value);
        return (M) this;
    }

    public Integer getUserId() {
        return get("user_id");
    }

    public M setPayeeId(Integer value) {
        set("payee_id", value);
        return (M) this;
    }

    public Integer getPayeeId() {
        return get("payee_id");
    }

    public M setPayeeGameid(Integer value) {
        set("payee_gameid", value);
        return (M) this;
    }

    public Integer getPayeeGameid() {
        return get("payee_gameid");
    }

    public M setAuditorId(Integer value) {
        set("auditor_id", value);
        return (M) this;
    }

    public Integer getAuditorId() {
        return get("auditor_id");
    }

    public M setIsAgent(Integer value) {
        set("is_agent", value);
        return (M) this;
    }

    public Integer getIsAgent() {
        return get("is_agent");
    }

    public M setRemark(String value) {
        set("remark", value);
        return (M) this;
    }

    public String getRemark() {
        return get("remark");
    }

    public M setRejectedRemark(String value) {
        set("rejected_remark", value);
        return (M) this;
    }

    public String getRejectedRemark() {
        return get("rejected_remark");
    }

    public M setCreateTime(Timestamp value) {
        set("create_time", value);
        return (M) this;
    }

    public Timestamp getCreateTime() {
        return get("create_time");
    }

    public M setAuditTime(Timestamp value) {
        set("audit_time", value);
        return (M) this;
    }

    public Timestamp getAuditTime() {
        return get("audit_time");
    }

    public M setStatus(Short value) {
        set("status", value);
        return (M) this;
    }

    public Short getStatus() {
        return get("status");
    }

    public M setParamstr(String value) {
        set("paramstr", value);
        return (M) this;
    }

    public String getParamstr() {
        return get("paramstr");
    }
}
